Cavern

 Cavern4D

 Cavernize

 Debug

 FilterInterfaces

 Filters

 Format

 Helpers

 QuickEQ

  EQCurves

  Equalization

  Band

  EQGenerator

  Equalizer

  PeakingEqualizer

  GainPrecision

  GetPeakingEQ(int)

  GetPeakingEQ(int, int)

  Iterations

  MaxGain

  MinGain

  PeakingEqualizer(Equalizer)

  StartQ

  SignalGeneration

  Utilities

  IDisposable

  MeasurementImporter

  MeasurementImporterStatus

  NoisyChannel

  SpeakerSweeper

  VerboseImpulseResponse

  Window

  Windowing

 Remapping

 SpecialSources

 Spoofer

 Utilities

 Virtualizer

 Atmosphere

 AudioClip3D

 AudioListener3D

 AudioListener3DInspector

 AudioSource3D

 CavernizeRealtime

 Channel

 Clip

 Environments

 Jack

 Listener

 QualityModes

 Rolloffs

 SeatAdaptation

 Source

class PeakingEqualizer

Generates peaking EQ filter sets that try to match Equalizer curves.
VisibilityPublic

Public functions

PeakingEQ[] GetPeakingEQ(int sampleRate, int bands)Create a peaking EQ filter set with bands placed at optimal frequencies to approximate the drawn EQ curve.
PeakingEQ[] GetPeakingEQ(int sampleRate)Create a peaking EQ filter set with bands placed at equalized frequencies to approximate the drawn EQ curve.
Constructor PeakingEqualizer(Equalizer source) Generates peaking EQ filter sets that try to match Equalizer curves.

Public properties

double GainPrecisionRound the gain of each filter to this precision.
int IterationsIn each iteration, StartQ is divided in half, and checks steps in each direction.
The precision of Q will be StartQ / 2^Iterations.
double MaxGainMaximum filter gain in dB.
double MinGainMinimum filter gain in dB.
double StartQQ at the first try.